home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / DiceSource / src / dc1 / errors < prev    next >
Encoding:
Text File  |  1993-12-15  |  35.5 KB  |  1,164 lines

  1. asm1.c         1 EUNREG_AUTOINIT
  2. asm1.c         2 EUNREG_AUTOEXIT
  3. asm1.c         3 EUNREG_GETA4
  4. asm1.c         4 EUNREG_CHIP
  5. UNUSED         5 EUNREG_REG_ARGS
  6. rules.c        6 EUNREG_FLOATINGPT
  7. UNUSED         7 EUNREG_RESERVED7
  8. UNUSED         8 EUNREG_RESERVED8
  9. lex.c          9 EFATAL_UNEXPECTED_EOF
  10. lex.c          9 EFATAL_UNEXPECTED_EOF
  11. lex.c         10 EWARN_CHAR_CONST_TOO_LONG
  12. lex.c         11 EWARN_NEWLINE_IN_STRING_CONST
  13. lex.c         12 EWARN_ILLEGAL_CHAR, ptr[-1], ptr[-1]
  14. lex.c         13 EERROR_UNEXPECTED_TOKEN, TokenToStr(t), TokenToStr(expect)
  15. asm1.c        14 EERROR_GETA4_ILLEGAL
  16. asm1.c        15 EERROR_TOO_MANY_AUTOS
  17. types.c       16 EERROR_UNSUPPORTED_RETURN_TYPE
  18. asm1.c        16 EERROR_UNSUPPORTED_RETURN_TYPE
  19. asm1.c        16 EERROR_UNSUPPORTED_RETURN_TYPE
  20. asm1.c        16 EERROR_UNSUPPORTED_RETURN_TYPE
  21. asm1.c        17 EWARN_CONSTANT_OUT_OF_RANGE, cases[num-1]
  22. asm1.c        17 EWARN_CONSTANT_OUT_OF_RANGE, cases[0]
  23. asm1.c        17 EWARN_CONSTANT_OUT_OF_RANGE, n
  24. asm1.c        18 EERROR_SIZE_MISMATCH, s1->st_Size, s2->st_Size
  25. asm1.c        19 EERROR_CASE_REPEATED, sv, sv
  26. asm2.c        20 EERROR_BLOCK_OPERATION_SOURCE
  27. asm2.c        21 EERROR_BLOCK_OPERATION_DEST
  28. asm1.c        22 EFATAL_DEST_NOT_LVALUE
  29. asm2.c        22 EFATAL_DEST_NOT_LVALUE
  30. stmt.c        23 EFATAL_SYNTAX_ERROR_EXP
  31. cexp.c        23 EFATAL_SYNTAX_ERROR_EXP
  32. cexp.c        23 EFATAL_SYNTAX_ERROR_EXP
  33. stmt.c        23 EFATAL_SYNTAX_ERROR_EXP
  34. cexp.c        23 EFATAL_SYNTAX_ERROR_EXP
  35. cexp.c        23 EFATAL_SYNTAX_ERROR_EXP
  36. cexp.c        23 EFATAL_SYNTAX_ERROR_EXP
  37. cexp.c        23 EFATAL_SYNTAX_ERROR_EXP
  38. stmt.c        23 EERROR_SYNTAX_ERROR_EXP
  39. cexp.c        23 EFATAL_SYNTAX_ERROR_EXP
  40. cexp.c        23 EFATAL_SYNTAX_ERROR_EXP
  41. cexp.c        23 EFATAL_SYNTAX_ERROR_EXP
  42. cexp.c        24 EFATAL_EXPECTED_EXP
  43. UNUSED        25 EERROR_EXPECTED_RBRACE
  44. cexp.c        26 EFATAL_EXPECTED_CLOSE_PARENS, parens
  45. cexp.c        27 EERROR_EXPECTED_CLOSE_BRACKET
  46. cexp.c        28 EFATAL_EXPECTED_STRUCT_TAG
  47. cexp.c        29 EFATAL_EXPECTED_COMMACLOSE
  48. cexp.c        30 EERROR_UNDEFINED_SYMBOL, SymToString(LexSym)
  49. exp.c         31 EERROR_EXPECTED_INT_CONST
  50. exp.c         32 EERROR_NOT_LVALUE
  51. genass.c      32 EERROR_NOT_LVALUE
  52. exp.c         32 EERROR_NOT_LVALUE
  53. exp.c         32 EERROR_NOT_LVALUE
  54. gen.c         33 EERROR_GOTO_LABEL_NOT_FOUND,
  55. genarith.c    34 EERROR_CONST_DIVMOD_0
  56. genarith.c    34 EERROR_CONST_DIVMOD_0
  57. types.c       35 EWARN_PTR_PTR_MISMATCH, TypeToProtoStr(t1, 0)
  58. UNUSED        35 EERROR_PTR_PTR_MISMATCH
  59. genarith.c    36 EERROR_UNEXPECTED_VOID_TYPE
  60. genbool.c     36 EERROR_UNEXPECTED_VOID_TYPE
  61. types.c       36 EERROR_NOT_STRUCT_UNION
  62. genarith.c    36 EERROR_UNEXPECTED_VOID_TYPE
  63. rules.c       36 EERROR_UNEXPECTED_VOID_TYPE
  64. genbool.c     36 EERROR_UNEXPECTED_VOID_TYPE
  65. rules.c       36 EERROR_UNEXPECTED_VOID_TYPE
  66. rules.c       36 EERROR_UNEXPECTED_VOID_TYPE
  67. rules.c       36 EERROR_UNEXPECTED_VOID_TYPE
  68. rules.c       36 EERROR_UNEXPECTED_VOID_TYPE
  69. rules.c       36 EERROR_UNEXPECTED_VOID_TYPE
  70. rules.c       36 EERROR_UNEXPECTED_VOID_TYPE
  71. rules.c       36 EERROR_UNEXPECTED_VOID_TYPE;
  72. rules.c       36 EERROR_UNEXPECTED_VOID_TYPE
  73. rules.c       36 EERROR_UNEXPECTED_VOID_TYPE
  74. rules.c       36 EERROR_UNEXPECTED_VOID_TYPE
  75. rules.c       36 EERROR_UNEXPECTED_VOID_TYPE
  76. rules.c       36 EERROR_UNEXPECTED_VOID_TYPE
  77. rules.c       36 EERROR_UNEXPECTED_VOID_TYPE
  78. rules.c       36 EERROR_UNEXPECTED_VOID_TYPE
  79. genbool.c     37 EWARN_RESULT_NOT_USED
  80. genbool.c     37 EWARN_RESULT_NOT_USED
  81. genbool.c     37 EWARN_RESULT_NOT_USED
  82. genmisc.c     38 EWARN_ADDR_ARRAY_REDUNDANT
  83. genmisc.c     39 EERROR_ADDR_BITFIELD_ILLEGAL
  84. genmisc.c     40 EERROR_INDIRECTION_NOT_PTR
  85. genmisc.c     40 EERROR_INDIRECTION_NOT_PTR
  86. genmisc.c     40 EERROR_INDIRECTION_NOT_PTR
  87. genmisc.c     41 EERROR_ALLOCA
  88. genmisc.c     42 EERROR_LHS_NOT_PROCEDURE
  89. genmisc.c     43 EERROR_UNPROTOTYPED_CALL
  90. genmisc.c     44 EWARN_TOO_FEW_PARAMETERS
  91. genmisc.c     45 EWARN_TOO_MANY_PARAMETERS
  92. genmisc.c     46 EERROR_NOT_STRUCT_UNION
  93. reg.c         47 EFATAL_MAX_TMP_EXCEEDED
  94. reg.c         48 ESOFT_REG_NOT_ALLOCATED, regno
  95. reg.c         48 ESOFT_REG_NOT_ALLOCATED, regno
  96. genmisc.c     49 EERROR_EXPECTED_INT_TYPE
  97. genbool.c     49 EERROR_EXPECTED_INT_TYPE
  98. rules.c       49 EERROR_EXPECTED_INT_TYPE
  99. rules.c       49 EERROR_EXPECTED_INT_TYPE
  100. rules.c       49 EERROR_EXPECTED_INT_TYPE
  101. genbool.c     49 EERROR_EXPECTED_INT_TYPE
  102. rules.c       49 EERROR_EXPECTED_INT_TYPE
  103. rules.c       50 EERROR_ILLEGAL_PTR_ARITH
  104. rules.c       50 EERROR_ILLEGAL_PTR_ARITH
  105. rules.c       51 EERROR_ILLEGAL_PTR_CONVERSION
  106. rules.c       51 EERROR_ILLEGAL_PTR_CONVERSION
  107. rules.c       52 EERROR_ILLEGAL_STRUCT_CVT
  108. rules.c       53 EERROR_ILLEGAL_CAST
  109. genmisc.c     53 EERROR_ILLEGAL_CAST
  110. rules.c       54 EWARN_PTR_INT_CONVERSION
  111. rules.c       55 EERROR_ILLEGAL_INT_CONVERSION
  112. rules.c       56 EWARN_INT_PTR_CONVERSION
  113. rules.c       56 EWARN_INT_PTR_CONVERSION;
  114. rules.c       56 EWARN_INT_PTR_CONVERSION
  115. rules.c       56 EWARN_INT_PTR_CONVERSION
  116. rules.c       57 EWARN_PTR_INT_MISMATCH
  117. rules.c       57 EWARN_PTR_INT_MISMATCH
  118. rules.c       58 EERROR_ILLEGAL_STRUCT_OP
  119. rules.c       58 EERROR_ILLEGAL_STRUCT_OP
  120. toplevel.c    59 EERROR_ILLEGAL_ASSIGNMENT
  121. rules.c       59 EERROR_ILLEGAL_ASSIGNMENT
  122. genass.c      59 EERROR_ILLEGAL_ASSIGNMENT
  123. rules.c       59 EERROR_ILLEGAL_ASSIGNMENT
  124. rules.c       59 EERROR_ILLEGAL_ASSIGNMENT;
  125. genass.c      59 EERROR_ILLEGAL_ASSIGNMENT
  126. genass.c      59 EERROR_ILLEGAL_ASSIGNMENT
  127. rules.c       59 EERROR_ILLEGAL_ASSIGNMENT;
  128. rules.c       59 EERROR_ILLEGAL_ASSIGNMENT
  129. rules.c       60 EERROR_ILLEGAL_PTR_INT_SIZE
  130. rules.c       60 EERROR_ILLEGAL_PTR_INT_SIZE
  131. rules.c       60 EERROR_ILLEGAL_PTR_INT_SIZE;
  132. rules.c       60 EERROR_ILLEGAL_PTR_INT_SIZE;
  133. toplevel.c    61 EERROR_ILLEGAL_BITFIELD_OP
  134. toplevel.c    61 EERROR_ILLEGAL_BITFIELD_OP
  135. rules.c       61 EERROR_ILLEGAL_BITFIELD_OP
  136. rules.c       61 EERROR_ILLEGAL_BITFIELD_OP
  137. toplevel.c    61 EERROR_ILLEGAL_BITFIELD_OP
  138. rules.c       62 ESOFT_ILLEGAL_COMPARE
  139. types.c       63 EERROR_UNDEFINED_TAG, SymToString(sym)
  140. types.c       63 EERROR_UNDEFINED_TAG
  141. types.c       64 EERROR_UNDEFINED_ELEMENT, SymToString(exp->ex_Symbol)
  142. UNUSED        65 EFATAL_NO_MEMORY
  143. subs.c        66 EFATAL_FPSTR_TOO_LONG
  144. subs.c        67 EFATAL_FPINT_TOO_LARGE
  145. toplevel.c    68 EWARN_EXPECTED_SEMICOLON
  146. stmt.c        68 EWARN_EXPECTED_SEMICOLON
  147. stmt.c        68 EERROR_EXPECTED_SEMICOLON
  148. toplevel.c    69 EERROR_ILLEGAL_QUALIFIER
  149. stmt.c        69 EERROR_ILLEGAL_QUALIFIER
  150. toplevel.c    69 EERROR_ILLEGAL_QUALIFIER
  151. toplevel.c    70 EERROR_ILLEGAL_TYPEDEF
  152. toplevel.c    70 EERROR_ILLEGAL_TYPEDEF
  153. toplevel.c    71 EERROR_MULTIPLY_DEFINED_PROC
  154. toplevel.c    71 EERROR_MULTIPLY_DEFINED_PROC
  155. UNUSED        72 EFATAL_TYPE_TOO_COMPLEX
  156. toplevel.c    73 EERROR_SYNTAX_ERROR_DECL
  157. stmt.c        73 EERROR_SYNTAX_ERROR_DECL
  158. toplevel.c    73 EERROR_SYNTAX_ERROR_DECL
  159. stmt.c        73 EERROR_SYNTAX_ERROR_DECL
  160. stmt.c        73 EERROR_SYNTAX_ERROR_DECL
  161. stmt.c        73 EERROR_SYNTAX_ERROR_DECL
  162. stmt.c        73 EERROR_SYNTAX_ERROR_DECL
  163. toplevel.c    73 EERROR_SYNTAX_ERROR_DECL
  164. toplevel.c    74 EWARN_ENUM_OVERIDE
  165. stmt.c        75 EERROR_ID_MISSING_PROC
  166. stmt.c        76 EERROR_ID_NOT_IN_LIST
  167. stmt.c        77 EFATAL_STMT_COND_NOT_EXP
  168. stmt.c        77 EFATAL_STMT_COND_NOT_EXP
  169. stmt.c        77 EFATAL_STMT_COND_NOT_EXP
  170. stmt.c        77 EFATAL_STMT_COND_NOT_EXP
  171. stmt.c        78 EERROR_DUPLICATE_DEFAULT
  172. UNUSED        79 EERROR_STATEMENTS_BEFORE_CASE
  173. stmt.c        80 EERROR_EXPECTED_OCBRACE_PROC
  174. stmt.c        80 EERROR_EXPECTED_OCBRACE_PROC
  175. stmt.c        81 EERROR_CASE_DEFAULT_OUTSIDE
  176. stmt.c        81 EERROR_CASE_DEFAULT_OUTSIDE
  177. stmt.c        82 EERROR_ELSE_NO_IF
  178. genass.c      83 EERROR_TOO_MANY_INITIALIZERS
  179. toplevel.c    83 EERROR_TOO_MANY_INITIALIZERS
  180. cexp.c        83 EERROR_TOO_MANY_INITIALIZERS
  181. cexp.c        84 EERROR_ARRAY_CANNOT_HOLD_STRING
  182. stmt.c        85 EERROR_ILLEGAL_REGSPEC
  183. toplevel.c    85 EERROR_ILLEGAL_REGSPEC
  184. UNUSED        86 EWARN_VARIABLE_NOT_USED
  185. exp.c         87 EERROR_ILLEGAL_RETURN_TYPE
  186. gen.c         87 EERROR_ILLEGAL_RETURN_TYPE
  187. toplevel.c    88 EWARN_SASC_QUALIFIER_PLACEMENT
  188. stmt.c        89 EERROR_BREAK_OUTSIDE_LOOPSW
  189. stmt.c        90 EERROR_CONT_OUTSIDE_LOOP
  190. asmaddr.c     91 EERROR_ADDRESS_INT_CONST
  191. asm1.c        92 EERROR_PASS_UNALIGNED_STRUCT
  192. genmisc.c     93 EERROR_PROTO_REQUIRED_INLINE
  193. lex.c         94 EFATAL_INPUT_NOT_SEEKABLE
  194. lex.c         95 EFATAL_CANT_OPEN_FILE, lf->lf_FileName
  195. UNUSED        96 EFATAL_READ_FAILED
  196. main.c        97 EFATAL_CANT_OPEN_OUTPUT, ptr ? ptr : "?"
  197. asmaddr.c     98 EERROR_BAD_IND_TYPE
  198. cexp.c        99 EFATAL_PRAGMA_BASE_UNDEF, sym->Len, sym->Name
  199. genmisc.c    100 EERROR_SIZEOF_TYPE_0
  200. sem.c        101 EWARN_DUPLICATE_SYMBOL, sym->Len, sym->Name
  201. block.c      101 EERROR_DUPLICATE_SYMBOL,
  202. stmt.c       101 EWARN_DUPLICATE_SYMBOL, LexSym->Len, LexSym->Name
  203. gen.c        102 EWARN_VARIABLE_NOT_USED, var->Sym->Len, var->Sym->Name
  204. sem.c        103 EWARN_VARIABLE_OVERIDES_ARG, sym->Len, sym->Name
  205. pragma.c     104 EFATAL_PRAGMA_CONFLICT_ARGS, pn->pn_FuncLen, pn->pn_Func
  206. pragma.c     105 EFATAL_PRAGMA_RETURN_D0, pn->pn_FuncLen, pn->pn_Func
  207. asmaddr.c    106 EERROR_VOID_IND_TYPE
  208. toplevel.c   107 EERROR_NO_MEMBERS, SymToString(FindStructUnionTag(type       )
  209. cexp.c       108 EWARN_MISSING_COMMA
  210. cexp.c       108 EWARN_MISSING_COMMA
  211. block.c      109 EWARN_RETURN_MISMATCH, TypeToProtoStr(tn->SubType, 0)
  212. block.c      110 EERROR_ARGUMENT_COUNT
  213. block.c      111 EERROR_NON_PROTOTYPE
  214. types.c      111 EWARN_NON_PROTOTYPE
  215. block.c      112 EERROR_ARGUMENT_MISMATCH,
  216. block.c      113 EERROR_REGISTER_MISMATCH, i + 1
  217. block.c      114 EERROR_INCOMPATIBLE_STRUCTURE, TypeToProtoStr(tn, 0)
  218. block.c      115 EWARN_DOES_NOT_MATCH, TypeToProtoStr(to, 0)
  219. types.c      115 EWARN_DOES_NOT_MATCH,   TypeToProtoStr(t2, 0)
  220. block.c      115 EWARN_DOES_NOT_MATCH,
  221. block.c      115 EWARN_DOES_NOT_MATCH,  TypeToProtoStr(to->SubType, 0)
  222. gen.c        116 EFATAL_TOO_MANY_REDOS
  223. main.c       117 EFATAL_INTERNAL_ERROR, line, file
  224. main.c       118 EERROR_BAD_LOCALE, ptr
  225. genass.c     119 EERROR_BADRELOC_IN_CONST
  226. asmflt.c     120 EERROR_CANT_OPEN_MATHLIB, "mathieeedoub[bas,trans].library"
  227. asmflt.c     120 EERROR_CANT_OPEN_MATHLIB, "mathieeesing[bas,trans].library"
  228. asmflt.c     120 EERROR_CANT_OPEN_MATHLIB, "math[ffp,trans].library"
  229.  
  230.  
  231. C1:001:__autoinit
  232. C1:002:__autoexit
  233. C1:003:__geta4
  234. C1:004:__chip
  235. C1:005:registered args
  236. C1:006:floating point
  237. C1:009:Unexpected EOF
  238. C1:010:Char Const Too Large!
  239. C1:011:NewLine in string constant
  240. C1:012:Illegal character '%c' $%02x
  241. C1:013:Unexpected Token '%s' expected '%s'
  242. C1:014:__geta4 keyword does NOT work with residentable executables!
  243. C1:015:More than 32K of auto variables!
  244. C1:016:Unsupported return type
  245. C1:017:constant does not fit storage: %d
  246. C1:018:size mismatch: %d, %d
  247. C1:019:repeated case: %d (0x%08lx)
  248. C1:020:block operation error in source
  249. C1:021:block operation error in dest
  250. C1:022:dest not lvalue
  251. C1:023:syntax error in expression
  252. C1:024:expected expression
  253. C1:025:expected '}'
  254. C1:026:expected %d close parens
  255. C1:027:expected close bracket
  256. C1:028:expected identifer after . or ->
  257. C1:029:expected ',' or ')' in function call
  258. C1:030:undefined symbol: %s
  259. C1:031:expected integer constant
  260. C1:032:not an lvalue
  261. C1:033:goto label not found: %.*s
  262. C1:034:constant div/mod by 0
  263. C1:035:ptr-ptr mismatch type: %s
  264. C1:036:unexpected void type
  265. C1:037:result not used
  266. C1:038:& of array redundant
  267. C1:039:& of bitfield illegal
  268. C1:040:indirection through non-ptr
  269. C1:041:must #include <alloca.h> for alloca
  270. C1:042:left hand side of assignment is not a procedure
  271. C1:043:unprototyped call
  272. C1:044:too few parameters in call
  273. C1:045:too many parameters in call
  274. C1:046:not structure or union type
  275. C1:047:maximum auto storage for temporaries exceeded
  276. C1:048:register not allocated: %d
  277. C1:049:expected integer type
  278. C1:050:illegal ptr arithmatic
  279. C1:051:illegal ptr conversion
  280. C1:052:illegal structure conversion
  281. C1:053:illegal cast
  282. C1:054:ptr-int conversion
  283. C1:055:illegal int conversion
  284. C1:056:int-ptr conversion
  285. C1:057:int/ptr mismatch
  286. C1:058:illegal or incompatible structure operation
  287. C1:059:illegal assignment
  288. C1:060:illegal ptr-int or int-ptr conversion, int-size != ptr-size
  289. C1:061:illegal bit-field operation
  290. C1:062:illegal compare
  291. C1:063:undefined structure tag: %s
  292. C1:064:undefined struct/union field: %s
  293. C1:065:ran out of memory
  294. C1:066:fp constant string too long!
  295. C1:067:fp constant too large to convert to int
  296. C1:068:expected semicolon
  297. C1:069:illegal type/storage qualifier for variable
  298. C1:070:illegal typedef
  299. C1:071:multiple defined procedure
  300. C1:072:type too complex
  301. C1:073:syntax error in declaration
  302. C1:074:enum identifier overides variable/type
  303. C1:075:id missing in procedure declaration
  304. C1:076:procedure id decl not in id list
  305. C1:077:statement's condition must be an expression
  306. C1:078:duplicate default: in switch
  307. C1:079:statements before first case in switch
  308. C1:080:expected '{' or '}' for procedure def
  309. C1:081:case/default outside switch
  310. C1:082:else without if
  311. C1:083:too many initializers
  312. C1:084:array cannot hold string
  313. C1:085:illegal register specification
  314. C1:086:Variable not used: %*.*s
  315. C1:087:Illegal return type
  316. C1:088:Warning, SAS/C __qualifier placement
  317. C1:089:BREAK outside of loop/switch
  318. C1:090:CONTINUE outside of loop
  319. C1:091:Cannot take the address of a constant
  320. C1:092:Cannot passed unaligned structs by value
  321. C1:093:Prototype required for inline call
  322. C1:094:Input must be a seekable file
  323. C1:095:Can't open %s
  324. C1:096:Read failed
  325. C1:097:Can't open output %s
  326. C1:098:Incorrect type for indirection
  327. C1:099:Base variable (%.*s) for pragma is undefined
  328. C1:100:sizeof(type) is 0
  329. C1:101:Duplicate variable/symbol in same {} block: %.*s
  330. C1:102:Variable declared but not used: %.*s
  331. C1:103:Variable overides procedure argument: %.*s
  332. C1:104:Pragma argument count conflict with prototype: %.*s
  333. C1:105:Only D0 supported as a return register for pragmas: %.*s
  334. C1:106:Attempt to indirect through void pointer
  335. C1:107:Structure/Union %s has no members
  336. C1:108:Missing comma in initialization expression
  337. C1:109:Return type for procedures do not match from: %s
  338. C1:110:Number of args mismatch with prototype
  339. C1:111:Prototype into Non-Prototype
  340. C1:112:Incompatible procedure Argument #%d type: %s
  341. C1:113:Argument #%d is in a different register
  342. C1:114:Structure Types do not match: %s
  343. C1:115:Does not match original declaration type: %s
  344. C1:116:Subroutine too complex to generate code for
  345. C1:117:Internal Compiler error %d: %s
  346. C1:118:Can not read locale library file: %s
  347. C1:119:unrelocatable data reference in const storage
  348. C1:120:Can not open needed math library: %s
  349.  
  350.  
  351.  
  352. @MAJOR HEADING = DC1 Error Messages<$M[ChapError]>
  353.  
  354. @NAME = C1:001<R>
  355. C1:002<R>
  356. C1:003<R>
  357. C1:004<R>
  358. C1:005
  359.  
  360. @ERRMESS = <%15>_<%0>_autoinit<R>
  361. __autoexit<R>
  362. __geta4<R>
  363. __chip<R>
  364. registered args
  365.  
  366. These error messages should only occur if you are using the freeware
  367. release, and attempt to use features not supported in that limited
  368. version.
  369.  
  370. @NAME = C1:009
  371.  
  372. @ERRMESS = Unexpected EOF
  373.  
  374. The source or header file ended abruptly, for example ending in the
  375. middle of a quoted string or macro.
  376.  
  377. @NAME = C1:010
  378.  
  379. @ERRMESS = Char Const Too Large!
  380.  
  381. Only 4 characters are allowed within a character constant, more than
  382. four, such as 'abcde' will generate this error.
  383.  
  384. @NAME = C1:011
  385.  
  386. @ERRMESS = NewLine in string constant
  387.  
  388. A newline occurs within a string constant, such as the next two lines:
  389.  
  390. @INDEN1 = "abcd<R>
  391. efgh"
  392.  
  393. This is not legal under ANSI C. Instead, you can create a single large
  394. string using "string1" "string2" ... two sets of quoted strings with
  395. no delimiter, putting them side by side or on separate lines as you
  396. like.
  397.  
  398. @NAME = C1:012
  399.  
  400. @ERRMESS = Illegal character '%c' $%02x
  401.  
  402. Certain characters are illegal. One example is '#', when not part
  403. of a preprocessor directive:  int x= 43#.
  404.  
  405. @NAME = C1:013
  406.  
  407. @ERRMESS = Unexpected Token '%s' expected '%s'
  408.  
  409. The expected token wasn't the one we got! The error message tells
  410. you what the character was and what was expected.  This is normally
  411. indicative of mismatched parenthesis or a semi-colon inside a subroutine
  412. call that expected commas or a close parenthesis.  Most full featured
  413. prograzmmer's editors can match braces (ie. find a matching } for
  414. every {) to help track these errors down.
  415.  
  416. @NAME = C1:014
  417.  
  418. @ERRMESS = <%15>_<%0>_geta4 keyword does NOT work with residentable
  419. executables!
  420.  
  421. <%15>_<%0>_geta4 requires the base of the data to be at a known absolute
  422. relocatable location. You cannot use <%15>_<%0>_geta4 in conjunction
  423. with -r because residentable code allocates its data segment at run
  424. time.  Keep in mind that in the most common situation where you might
  425. get such an error -- writing shared libraries and devices, making
  426. the program resident would not buy you anything anyway.  The other
  427. common situation where you would need to use <%15>_<%0>_geta4 -- Amiga
  428. shared library callbacks, currently requires you to not make such
  429. executables residentable.
  430.  
  431. @NAME = C1:015
  432.  
  433. @ERRMESS = More than 32K of auto variables!
  434.  
  435. DICE accesses all stack variables using word-register-relative, thus
  436. no more than 32KBytes worth of stack variables may be declared.
  437.  
  438. @NAME = C1:016
  439.  
  440. @ERRMESS = Unsupported return type
  441.  
  442. You attempted to return a type that is currently unsupported.  Since
  443. all return types including structural returns are now supported, you
  444. should not get this error message.  Getting this error message would
  445. most likely be due to a bug in DICE.
  446.  
  447. @NAME = C1:017
  448.  
  449. @ERRMESS = constant does not fit storage: %d
  450.  
  451. DICE will, in some cases, catch the use of constants that are out
  452. of range in a particular situation. For example, specifying the constant
  453. '128' in relation to a signed character (-128 to 127).
  454.  
  455. DICE checks constant-fit only in hazzardous situations such as in
  456. a switch().
  457.  
  458. @NAME = C1:018
  459.  
  460. @ERRMESS = size mismatch: %d, %d
  461.  
  462. This is a code generation error which can occur when you compare or
  463. run operations on incompatible types.  This error occurs when high
  464. level routines in the compiler fail to detect a problem with your
  465. source.
  466.  
  467. @NAME = C1:019
  468.  
  469. @ERRMESS = repeated case: %d (0x%08lx)
  470.  
  471. The specified case, given in both decimal and hex, occurs more than
  472. once within a switch statement.
  473.  
  474. @NAME = C1:020<R>
  475. C1:021
  476.  
  477. @ERRMESS = block operation error in source<R>
  478. block operation error in dest
  479.  
  480. Generally means that either the source or the destination of a block-op,
  481. such as a structure assignment, are incompatible. For example:
  482.  
  483. @INDENT = foo = bar;
  484.  
  485. where foo has a different structure type than bar. Generally this 
  486. error is preceeded by an "illegal assignment" error.
  487.  
  488. @NAME = C1:022
  489.  
  490. @ERRMESS = dest not lvalue
  491.  
  492. Generally occurs if the object of an assignment is not assignable
  493. ("lvalue means <MI>modifiable value<D>). However, note that DICE is
  494. notably weak in this area. It will cheerfully allow you to do things
  495. like (a + b) = c + d;, obviously illegal.
  496.  
  497. @NAME = C1:023
  498.  
  499. @ERRMESS = syntax error in expression
  500.  
  501. A General syntax error in an expression occured. Usually occurs due
  502. to an illegally constructed expression, such as:
  503.  
  504. @INDEN1 = a ] b;
  505.  
  506. can also occur due to too few parenthesis.
  507.  
  508. @NAME = C1:024
  509.  
  510. @ERRMESS = expected expression
  511.  
  512. An expression was expected when, instead, either nothing or a statement
  513. was found. This can also occur due to a syntax error in the expression.
  514.  
  515. @NAME = C1:025
  516.  
  517. @ERRMESS = expected '}'
  518.  
  519. A close brace was expected, for example, a global declaration such
  520. as:
  521.  
  522. @INDEN1 = int a[] = { 1, 2, 3;
  523.  
  524. @NAME = C1:026
  525.  
  526. @ERRMESS = expected %d close parens
  527.  
  528. Expected one or more close parenthesis in an expression.
  529.  
  530. @NAME = C1:027
  531.  
  532. @ERRMESS = expected close bracket
  533.  
  534. Expected a close bracket ']', generally caused by an incomplete array
  535. index such as a[i = 4;
  536.  
  537. @NAME = C1:028
  538.  
  539. @ERRMESS = expected identifer after . or ->>
  540.  
  541. A structure indirection via '.' or '->>' requires a structure member
  542. to be specified. i.e. a field name.
  543.  
  544. @NAME = C1:029
  545.  
  546. @ERRMESS = expected ',' or ')' in function call
  547.  
  548. Expected a delimiter in a function call. Either comma if another argument
  549. is to be given, or a close parenthesis to end the function call.
  550.  
  551. @NAME = C1:030
  552.  
  553. @ERRMESS = undefined symbol: %s
  554.  
  555. The given symbol is not defined. For example, referencing a variable
  556. that was not defined or extern'd.
  557.  
  558. @NAME = C1:031
  559.  
  560. @ERRMESS = expected integer constant
  561.  
  562. An integer constant was expected, generally occurs when you declare
  563. an array. For example, the following is illegal: int i[j];
  564.  
  565. @NAME = C1:032
  566.  
  567. @ERRMESS = not an lvalue
  568.  
  569. Occurs when an lvalue was expected, usually in an assignment. An lvalue
  570. is an expression which exists in real storage, for example:
  571.  
  572. @INDEN1 = *ptr = 4;
  573.  
  574. the expression '*ptr' points to real storage where as the expression
  575. (a + b) in;
  576.  
  577. @INDEN1 = (a + b) = 4;
  578.  
  579. does NOT.  Note that DICE is not very good at catching lvalues errors
  580. yet.
  581.  
  582. @NAME = C1:033
  583.  
  584. @ERRMESS = goto label not found
  585.  
  586. One or more 'goto label;' statements in a procedure specifies a non-existant
  587. label.
  588.  
  589. @NAME = C1:034
  590.  
  591. @ERRMESS = constant div/mod by 0
  592.  
  593. You attempted to use the '/' or '%' operator with the constant value
  594. 0 on the right hand side. Division/Modulus by 0 is illegal.
  595.  
  596. @NAME = C1:035
  597.  
  598. @ERRMESS = ptr-ptr mismatch
  599.  
  600. Generally occurs in a pointer comparison or assignment. The two pointers
  601. do not point to the same type. Example,
  602.  
  603. char *a; long *b; if (a << b);
  604.  
  605. @NAME = C1:036
  606.  
  607. @ERRMESS = unexpected void type
  608.  
  609. Occurs due to an illegally constructed expression where the result
  610. storage is void.
  611.  
  612. @NAME = C1:037
  613.  
  614. @ERRMESS = result not used
  615.  
  616. This warning occurs in some cases where an expression has been calculated
  617. but the result ends up not being used.  For example:
  618.  
  619. @INDEN1 = a <<= 4;
  620.  
  621. @NAME = C1:038
  622.  
  623. @ERRMESS = & of array redundant
  624.  
  625. Example: int a[4]; int *b = &a; ... the '&' is redundant because accessing
  626. an array variable without any index yields a pointer to the array
  627. anyway.
  628.  
  629. @NAME = C1:039
  630.  
  631. @ERRMESS = & of bitfield illegal
  632.  
  633. It is not legal to take the address of a bitfield element in a structure
  634. since no pointer representation is possible.
  635.  
  636. @NAME = C1:040
  637.  
  638. @ERRMESS = indirection through non-ptr
  639.  
  640. Example: int a; *a = 4; ... i.e. where 'a' wasn't a pointer. Will
  641. also occur if you attempt to index a variable which is not an array
  642. or pointer, i.e. a[4] = 4; where 'a' is an integer instead of an array/pointer.
  643.  
  644. @NAME = C1:041
  645.  
  646. @ERRMESS = must #include <<alloca.h>> for alloca
  647.  
  648. DICE requires a special alloca. To obtain it any modules that use
  649. alloca() must #include <<alloca.h>> which redefines it properly.
  650.  
  651. @NAME = C1:042
  652.  
  653. @ERRMESS = lhs not a procedure
  654.  
  655. You attempted to make a procedure call, such as foo(23); where foo
  656. is not a procedure. Example:
  657.  
  658. @INDEN1 = int foo;<R>
  659. ...<R>
  660. foo(23);
  661.  
  662. This can occur if you accidently declare a variable whos name is the
  663. same as a procedure you attempt to call.
  664.  
  665. @NAME = C1:043
  666.  
  667. @ERRMESS = unprototyped call
  668.  
  669. When the -proto option to DCC is used, any procedure call which is
  670. not prototyped will generate this error.
  671.  
  672. @NAME = C1:044<R>
  673. C1:045
  674.  
  675. @ERRMESS = too few parameters in call<R>
  676. too many parameters in call
  677.  
  678. For prototyped procedures, the number of arguments is generally known.
  679. DICE will print these warnings if you make a procedure call with too
  680. few or too many arguments.
  681.  
  682. @NAME = C1:046
  683.  
  684. @ERRMESS = not structure or union type
  685.  
  686. An attempt was made to indirect through a structure or union where
  687. the lhs (left hand side) was not a structure or union type.
  688.  
  689. @NAME = C1:047
  690.  
  691. @ERRMESS = maximum auto storage for temporaries exceeded
  692.  
  693. DICE tracks stack temporaries, mainly for floating point. If DICE's
  694. maximum number of temporaries is exceeded due to an overly complex
  695. expression, this error will be given.
  696.  
  697. @NAME = C1:048
  698.  
  699. @ERRMESS = register not allocated: %d
  700.  
  701. This is generally an indication of a software error within DC1 if
  702. not preceeded by other error messages.
  703.  
  704. @NAME = C1:049
  705.  
  706. @ERRMESS = expected integer type
  707.  
  708. An integer type was expected but instead a non-integer type was found.
  709. For example, trying to use a float to index an array.
  710.  
  711. @NAME = C1:050
  712.  
  713. @ERRMESS = illegal ptr arithmatic
  714.  
  715. This error generally occurs when you do something illegal with a pointer.
  716. For example, while 'ptr - i' is valid, 'i - ptr' is not. While you
  717. can subtract two pointers 'p1 - p2', you cannot add two pointers 'p1
  718. + p2'.
  719.  
  720. @NAME = C1:051
  721.  
  722. @ERRMESS = illegal ptr conversion
  723.  
  724. This error generally occurs when you attempt to cast a structure to
  725. a pointer or vise versa.
  726.  
  727. @NAME = C1:052
  728.  
  729. @ERRMESS = illegal structure conversion
  730.  
  731. This error is similar to #051
  732.  
  733. @NAME = C1:053
  734.  
  735. @ERRMESS = illegal cast
  736.  
  737. A catch all for casts that DICE does not understand, such as converting
  738. integers into arrays.
  739.  
  740. @NAME = C1:054
  741.  
  742. @ERRMESS = ptr-int conversion
  743.  
  744. Generally occurs when DICE is forced to convert a pointer to an integer,
  745. for example when making a procedure call and passing a pointer when
  746. the procedure expected an integer.
  747.  
  748. @NAME = C1:055
  749.  
  750. @ERRMESS = illegal int conversion
  751.  
  752. It is illegal to convert an integer to a structure or vice-versa,
  753. generally the error occurs through an explicit cast.
  754.  
  755. @NAME = C1:056
  756.  
  757. @ERRMESS = int-ptr conversion
  758.  
  759. Generally occurs when DICE is forced to convert an integer to a pointer,
  760. for example when making a procedure call and passing an integer when
  761. the procedure expected a pointer.  The most common problem related
  762. to this is not having #include'd the appropriate prototypes for various
  763. Amiga library calls or for your own routines.
  764.  
  765. @NAME = C1:057
  766.  
  767. @ERRMESS = int/ptr mismatch
  768.  
  769. Generally occurs when you compare two unlike types (an integer and
  770. a pointer).
  771.  
  772. @NAME = C1:058
  773.  
  774. @ERRMESS = illegal or incompatible structure operation
  775.  
  776. When you assign structures to each other they must be of the same
  777. type & size. May also occur if you accidently assign a structure to
  778. a non-structure or vice-versa.
  779.  
  780. @NAME = C1:059
  781.  
  782. @ERRMESS = illegal assignment
  783.  
  784. The assignment is illegal. Usually occurs if you attempt to assign
  785. a field in a structure in the structure definition, like:
  786.  
  787. @INDEN1 = struct foo {
  788.  
  789. @INDEN2MID = int x = 4; /* huh ?? */
  790.  
  791. @INDEN1BOT = };
  792.  
  793. @NAME = C1:060
  794.  
  795. @ERRMESS = illegal ptr-int or int-ptr conversion, int-size != ptr-size
  796.  
  797. This is catch-all for programs that convert between pointers and integers
  798. and vice-versa. You can only convert an int or long to a pointer and
  799. back in DICE. Converting to or from a short is illegal.
  800.  
  801. @NAME = C1:061
  802.  
  803. @ERRMESS = illegal bit-field operation
  804.  
  805. The bitfield operation is not legal. Generally occurs when you attempt
  806. to declare a bitfield not part of a structure or union.
  807.  
  808. @NAME = C1:062
  809.  
  810. @ERRMESS = illegal compare
  811.  
  812. Generally occurs when you attempt to compare two structures. You can
  813. only use == and != when comparing structures.
  814.  
  815. @NAME = C1:063
  816.  
  817. @ERRMESS = undefined structure tag
  818.  
  819. Generally occurs when you attempt to reference a field in a structure
  820. which has yet to be defined.  Note that it is perfectly legal to declare
  821. pointers to undefined structures as long as you do not attempt to
  822. reference a field in the structure.
  823.  
  824. @NAME = C1:064
  825.  
  826. @ERRMESS = undefined struct/union field: %s
  827.  
  828. The specified field does not exist in the structure definition.
  829.  
  830. @NAME = C1:065
  831.  
  832. @ERRMESS = ran out of memory
  833.  
  834. DICE ran out of memory. The README file outlines possible steps to
  835. take ranging from making fewer things resident to specifying a temporary
  836. directory on your HD instead of in T: (usually assigned to RAM:).  The
  837. most common memory problem is related to DAS, which is a known memory
  838. hog.  The best work around is to split up large source files into
  839. smaller ones.
  840.  
  841. @NAME = C1:066
  842.  
  843. @ERRMESS = fp constant string too long!
  844.  
  845. A floating point constant is too long (>> 128 digits). DICE can only
  846. handle so much.
  847.  
  848. @NAME = C1:067
  849.  
  850. @ERRMESS = fp constant too large to convert to int
  851.  
  852. The fp constant is less than -0x80000000 or larger than 0x7FFFFFFF
  853. and thus cannot be converted to an integer.
  854.  
  855. @NAME = C1:068
  856.  
  857. @ERRMESS = expected semicolon
  858.  
  859. A semicolon was expected. For example:
  860.  
  861. @INDEN1 = int a<<--- oops<R>
  862. int b;
  863.  
  864. Generally occurs when something unexpected happens, a semicolon is
  865. not always the correct solution. For example, can occur if you have
  866. too many close braces.
  867.  
  868. @NAME = C1:069
  869.  
  870. @ERRMESS = illegal type/storage qualifier for variable
  871.  
  872. The type or storage qualifier is illegal for this variable declaration.
  873.  
  874. @NAME = C1:070
  875.  
  876. @ERRMESS = illegal typedef
  877.  
  878. The typedef is illegal.
  879.  
  880. @NAME = C1:071
  881.  
  882. @ERRMESS = multiply defined procedure
  883.  
  884. You have defined a procedure (definition means procedure declaration
  885. with { ... code ... }) more than once in the same source file.
  886.  
  887. @NAME = C1:072
  888.  
  889. @ERRMESS = type too complex
  890.  
  891. Occurs if a type is too complex for DICE to handle. For example, DICE
  892. cannot deal with an array with 32 dimensions.
  893.  
  894. @NAME = C1:073<R>
  895. C1:074
  896.  
  897. @ERRMESS = syntax error in declaration<R>
  898. enum identifier overides variable/type
  899.  
  900. Occurs if you create an enum identifier that overides an existing
  901. typedef or variable.  While enum's are supposed to be in a separate
  902. domain, this is one of the areas in which DICE is not totally ANSI.
  903.  
  904. @NAME = C1:075
  905.  
  906. @ERRMESS = id missing in procedure declaration
  907.  
  908. You have made a procedure definition, probably using the ANSI procedure
  909. definition style, but forgotten to specify an identifier for one of
  910. the arguments.  Only procedure <B>REFERENCES<D> may leave off the
  911. identifier.
  912.  
  913. @INDEN1 = void fubar(int) { ... }   /*  not ok in definition    */
  914.  
  915. @INDEN1 = void fubar(int);          /*  ok in prototype */
  916.  
  917. @NAME = C1:076
  918.  
  919. @ERRMESS = procedure id decl not in id list
  920.  
  921. This occurs if you declare a procedure with arguments old style and
  922. mistakenly declare a variable that wasn't specified in the identifier
  923. list.
  924.  
  925. @INDEN1 = int fubar(a,b,c)<R>
  926. int a, b, c, d;<R>
  927. {<R>
  928. }
  929.  
  930. Note that the variable 'd' did not exist in the id list.
  931.  
  932. @NAME = C1:077
  933.  
  934. @ERRMESS = statement's condition must be an expression
  935.  
  936. RETURN, IF, DO and WHILE require an expression or nothing. The middle
  937. argument for FOR() requires an expression. Whatever you gave the compiler,
  938. it wasn't an expression.
  939.  
  940. @NAME = C1:078
  941.  
  942. @ERRMESS = duplicate default: in switch
  943.  
  944. You have more than one default: statement in a switch.
  945.  
  946. @NAME = C1:079
  947.  
  948. @ERRMESS = statements before first case in switch
  949.  
  950. Again, strict ANSI says it is ok to have statements before a switch
  951. though it says nothing as to how they are supposed to get executed.
  952.  
  953. @INDEN1 = switch(fubar) {
  954.  
  955. @INDEN2MID = x = 4;
  956.  
  957. @INDEN1MID = case 1:
  958.  
  959. @INDEN2MID = ...
  960.  
  961. @INDEN1BOT = }
  962.  
  963. But DICE will generate an error.
  964.  
  965. @NAME = C1:080
  966.  
  967. @ERRMESS = expected '{' or '}' for procedure def
  968.  
  969. Just a more specific error message to the general syntax error. There
  970. is something wrong with your procedure definition, DICE expected an
  971. open brace and then the procedure but didn't see an open brace.
  972.  
  973. @NAME = C1:081
  974.  
  975. @ERRMESS = case/default outside switch
  976.  
  977. with DICE, the case and default statements must be on the same semantic
  978. level as the switch() { ... } even though ANSI says they can be in
  979. lower levels. At least for now. The other common cause is if you really
  980. do have a case or default statement outside of the switch statement.
  981.  
  982. @NAME = C1:082
  983.  
  984. @ERRMESS = else without if
  985.  
  986. You have an ELSE statement not associated with any IF statement. The
  987. most common mistake is when you accidently put two statements in between
  988. an IF and an ELSE without using braces, like this:
  989.  
  990. @INDEN1 = if (i == 0)
  991.  
  992. @INDEN2MID = i = 1; j = 2; /* wrong, need braces if more than one
  993. stmt */
  994.  
  995. @INDEN1MID = else
  996.  
  997. @INDEN2BOT = i = 3;
  998.  
  999. Which more commonly occurs if you use #define macros heavily.
  1000.  
  1001. @NAME = C1:083
  1002.  
  1003. @ERRMESS = too many initializers
  1004.  
  1005. This error will occur if you specify more initializers in a structure
  1006. assignment then the structure has fields.  For example:
  1007.  
  1008. @INDEN1 = struct { int a, b; } Fu = { 1, 2, 3 };     /* where's the
  1009. 3 go? */
  1010.  
  1011. @NAME = C1:084
  1012.  
  1013. @ERRMESS = array cannot hold string
  1014.  
  1015. This error will occur if you declare an array and initialize it to
  1016. a string that is larger then the array.  Note that the special case
  1017. where the string's nil terminator is just outside the array is allowed
  1018. (the nil terminator is ignored).
  1019.  
  1020. @INDEN1 = char Fu[3] = { "abcd" };
  1021.  
  1022. @NAME = C1:085
  1023.  
  1024. @ERRMESS = illegal register specification
  1025.  
  1026. This error occurs if you specify more then one register for a procedure
  1027. argument.  E.G.  void fubar(__D0 __D1 int a) { ... }
  1028.  
  1029. @NAME = C1:086
  1030.  
  1031. @ERRMESS = Variable not used: %*.*s
  1032.  
  1033. This warning informs you of variables which you have declared but
  1034. not referenced.
  1035.  
  1036. @NAME = C1:087
  1037.  
  1038. @ERRMESS = Illegal return type
  1039.  
  1040. This error indicates that you have attempted to return a type which
  1041. is incompatible with the return type of the procedure.  For example,
  1042. returning an integer from a procedure which is supposed to return
  1043. void.
  1044.  
  1045. @NAME = C1:088
  1046.  
  1047. @ERRMESS = Warning, SAS/C <%15>_<%0>_qualifier placement
  1048.  
  1049. DICE attempts to be somewhat SAS/C compatible in terms of type qualifier
  1050. placement but, frankly, SAS/C is too wierd in some respects.  With
  1051. DICE, extensions normally occur <B>BEFORE<D> the type name while in
  1052. SAS/C they normally occur <B>AFTER<D> the type name.  DICE will accept
  1053. SAS/C qualifier placement and issue this warning, but note that in
  1054. this particular case multiple declarators separated by commas will
  1055. not work using SAS/C qualifier placement:
  1056.  
  1057. @INDEN1 = int __chip a, b;      /* DOESN'T WORK, ONLY A in __CHIP
  1058. */
  1059.  
  1060. @INDEN1 = __chip int a, b;      /* WORKS, BOTH A & B ARE IN CHIP  */
  1061.  
  1062. You should also note that DICE accepts <%15>_<%0>_asm, simply ignoring
  1063. it, and also ignores the <B>register<D> qualifier with explicit register
  1064. specifications.  That is:
  1065.  
  1066. @INDEN1 = long fubar(<%15>_<%0>_D0 int a) ...   /* DICE METHOD  */
  1067.  
  1068. @INDEN1 = long fubar(a)<R>
  1069.                       /* DICE METHOD  */ <%15>_<%0>_D0 int a;<R>
  1070. {<R>
  1071. ...
  1072.  
  1073. @INDEN1 = long <%15>_<%0>_asm fubar(register <%15>_<%0>_d0 int a)
  1074. ... /* SAS/C */
  1075.  
  1076. DICE will accept the SAS/C registered args procedure format in the
  1077. name of portability but it's unreadable.
  1078.  
  1079. @NAME = C1:089
  1080.  
  1081. @ERRMESS = BREAK outside of loop/switch
  1082.  
  1083. The BREAK statement normally breaks out of the nearest switch, do,
  1084. for, or while statement.  If you are not within any of those constructs
  1085. there is nowhere to BREAK to and this error message will occur.
  1086.  
  1087. @NAME = C1:090
  1088.  
  1089. @ERRMESS = CONTINUE outside of loop
  1090.  
  1091. The CONTINUE statement normally continue's to the nearest do, for,
  1092. or while statement (note that switch() statements are skipped).  If
  1093. you are not within a loop statement then CONTINUE has nowhere to go
  1094. and this error message occurs.
  1095.  
  1096. @NAME = C1:091
  1097.  
  1098. @ERRMESS = Cannot take the address of a constant
  1099.  
  1100. You cannot take the address of a constant.  E.G. int *a = &4;  ...
  1101. what is that supposed to mean?  If you code structures to constant
  1102. addresses remember to cast the constant addresses as pointers.
  1103.  
  1104. @NAME = C1:092
  1105.  
  1106. @ERRMESS = Cannot passed unaligned structs by value
  1107.  
  1108. The <%15>_<%0>_unaligned storage qualifier is meant for certain very
  1109. rare situations where you do not want structures to be word aligned.
  1110. Unfortunately, DICE is not able to perform all possible operations
  1111. on such structures and passing them by value is one of those operations.
  1112. You can pass a <B>pointer<D> to the structure just fine, just not
  1113. by value.
  1114.  
  1115. @NAME = C1:093
  1116.  
  1117. @ERRMESS = Prototype required for inline call
  1118.  
  1119. Inline library calls are generally implemented by #include'ing the
  1120. appropriate prototype file.  The DICE method is to #include the appropriate
  1121. file in clib/, e.g. <<clib/exec_protos.h>>.  DICE will find "dinclude:clib/exec_protos.h"
  1122. first which then declares the #pragma's and finally includes the commodore
  1123. protos, "dinclude:amiga20/clib/exec_protos.h".  This error occurs
  1124. if a #pragma has been found for a routine but no ANSI prototype.  DICE
  1125. requires an ANSI prototype as well as a #pragma to be able to make
  1126. an inline library call.
  1127.  
  1128. @NAME = C1:094
  1129.  
  1130. @ERRMESS = Input must be a seekable file
  1131.  
  1132. DICE must be able to seek around the input file.  This error occurs
  1133. if, for example, you specify a pipe as the input file instead of a
  1134. disk file.
  1135.  
  1136. @NAME = C1:095
  1137.  
  1138. @ERRMESS = Can't open %s
  1139.  
  1140. DICE is unable to open the specified file
  1141.  
  1142. @NAME = C1:096
  1143.  
  1144. @ERRMESS = Read failed
  1145.  
  1146. DICE is able to open the file but Read() failed unexpectedly.
  1147.  
  1148. @NAME = C1:097
  1149.  
  1150. @ERRMESS = Can't open output %s
  1151.  
  1152. DICE is unable to create either a temporary output file or your specified
  1153. output file, depending on what it is doing.  For example, if you compile
  1154. a source file into an object DICE can give this error while attempting
  1155. to create the temporary assembly (.a) file before assembling it into
  1156. your object.
  1157.  
  1158. @NAME = C1:098
  1159.  
  1160. @ERRMESS = Incorrect type for indirection
  1161.  
  1162. You can only indirect (the unary '*' operator) through a pointer.
  1163.  
  1164.